/**
 * 
 */
package com.angis.fx.data;

import java.util.HashMap;
import java.util.List;

import android.text.format.Time;

/**
 * @author Han
 *
 */
public class InspectInfo  extends HashMap<String, String>{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 847964676423229857L;
	
	private String csId;

	private String name;
	
	private String address;
	
	private String type;
	
	private String personInCharge;
	
	private String licenseNo;
	
	private String licenseWord;
	
	private String area;
	
	private String inspectResult;
	
	private String inspectForm;
	
	private String inspectDetails;
	
	private Time arrivalTime;
	
	private Time leavingTime;
	
	private List<String> imageList;
	
	@Override
	public String get(Object o){
		if (o.toString().equals("csId"))
			return getCsId();
		if (o.toString().equals("name"))
			return getName();
		if (o.toString().equals("address"))
			return getAddress();	
		if (o.toString().equals("type"))
			return getType();	
		return "";		
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getPersonInCharge() {
		return personInCharge;
	}

	public void setPersonInCharge(String personInCharge) {
		this.personInCharge = personInCharge;
	}

	public String getLicenseNo() {
		return licenseNo;
	}

	public void setLicenseNo(String licenseNo) {
		this.licenseNo = licenseNo;
	}

	public String getLicenseWord() {
		return licenseWord;
	}

	public void setLicenseWord(String licenseWord) {
		this.licenseWord = licenseWord;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getInspectResult() {
		return inspectResult;
	}

	public void setInspectResult(String inspectResult) {
		this.inspectResult = inspectResult;
	}

	public String getInspectForm() {
		return inspectForm;
	}

	public void setInspectForm(String inspectForm) {
		this.inspectForm = inspectForm;
	}

	public String getInspectDetails() {
		return inspectDetails;
	}

	public void setInspectDetails(String inspectDetails) {
		this.inspectDetails = inspectDetails;
	}

	public Time getArrivalTime() {
		return arrivalTime;
	}

	public void setArrivalTime(Time arrivalTime) {
		this.arrivalTime = arrivalTime;
	}

	public Time getLeavingTime() {
		return leavingTime;
	}

	public void setLeavingTime(Time leavingTime) {
		this.leavingTime = leavingTime;
	}

	public List<String> getImageList() {
		return imageList;
	}

	public void setImageList(List<String> imageList) {
		this.imageList = imageList;
	}

	public String getCsId() {
		return csId;
	}

	public void setCsId(String csId) {
		this.csId = csId;
	}

}
